<template>
<table>
    <tr v-for="i in student">
        <td>{{ i.id }}</td>
        <td>{{ i.name }}</td>
        <td>{{ i.sex }}</td>
        <td>{{ i.age }}</td>
        <td>{{ i.address }}</td>
        <td>{{ i.phone }}</td>
    </tr>
</table> 
</template>
<script setup lang="ts">

const student=[
    {id:1,name:"aa1",sex:"男",age:1,address:"家庭住址1",phone:12312321},
    {id:2,name:"a2",sex:"女",age:2,address:"家庭住址2",phone:12312321},
    {id:3,name:"a3",sex:"男",age:3,address:"家庭住址3",phone:12312321},
    {id:4,name:"a4",sex:"女",age:4,address:"家庭住址4",phone:12312321},
    {id:5,name:"a5",sex:"男",age:5,address:"家庭住址5",phone:12312321},
    {id:6,name:"a6",sex:"女",age:6,address:"家庭住址6",phone:12312321},
    {id:7,name:"a7",sex:"男",age:7,address:"家庭住址7",phone:12312321},
    {id:8,name:"a8",sex:"女",age:8,address:"家庭住址8",phone:12312321},
    {id:9,name:"a9",sex:"男",age:9,address:"家庭住址9",phone:12312321},
    {id:10,name:"10a",sex:"女",age:10,address:"家庭住址10",phone:12312321},
]
</script>